﻿<!DOCTYPE html> 

<html xmlns="http://www.w3.org/1999/xhtml">

	
  <head>
    <title>话痨饭_v2.0</title>    
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">  
    	<HTA:APPLICATION
			APPLICATIONNAME="Bugslog Software_SeryFanfou"
			border="thin"
			borderstyle="static"
			caption="yes"
			icon="ui/senphu.ico"
			CAPTION="yes"
			maximizebutton="yes"
			minimizebutton="yes"
			showintaskbar="yes"
			singleinstance="no"
			sysmenu="yes"
			scroll="no"
			version="2.01"
			windowState="maximize"
			>
		<link rel=stylesheet href="ui/default.css" type="text/css">
		<link rel=stylesheet href="ui/os.css" type="text/css">
		<link rel=stylesheet href="ui/hualaofan.css" type="text/css">

    <style>

    	#all{
    		width:100%;
    		background:#fff
    	}
    	
    </style>  
    <script id="bl" language="javascript" src="bin/bl/core/BugslogCore.dll" ></script>
    <script language="javascript">
	var _hualaofan_loadFileList="";//加载过程
    	function init(){    		
    	
					bl.core.setErrorHandler(function(e){
					var position=e.position||"";
					var line=e.line||"";
					var msg=""+e.name+": "+position+"["+line+"]"+e.message+"";
					alert(msg);
					
					
					});//实现运行时错误接口
					
					$log=function(msg){
							_hualaofan_loadFileList+=msg;
						  
						}
					
				    
				$import("bl.os.System");
				
				$run(function(){	
					
					
					
					
					
					
					
					
					
					//请执行脚本以安装数据库!!!
					
					
					
					
					
					
					
					
					main();	

				});				
			
    	}    	

		function check(){

		var done=_hualaofan_loadFileList.replace(/\n/g,"<br />");
		var notyet=("<b>Warning \n</b>"+bl.core.getLoadingClass()).replace(/\n/g,"<br />");
					document.getElementById("d_osLoadinfo_done").innerHTML=done;
					document.getElementById("d_osNeedLoad").innerHTML=notyet;
	

		}
    	
    	

    	
    	function main(){//自定义入口
    		
    		$log=function(){}//注销
    		document.getElementById("d_osLoadinfo").innerText="";
    		document.getElementById("d_osLoadinfo").style.display="none";
    		bl.os.System.toLogin();
    	//	bl.os.System.init();
    		
    	}

    </script>
  </head>  
<body onload="init()" scroll="no"   >

<!--内核雏形-->

 	<div id="buffer" style="display:none"></div>

 	<div id="d_osLoadinfo">
	    <div ><input title='如果久未进入系统，请点击这里查看信息，并发送到开发者@肥魔 以查明原因' type=button class=button value=".?." onclick="check()"/>Loading...</div>
		<div id="d_osLoadinfo_done" ></div>
 	<div id="d_osNeedLoad" style="color:red"></div>
 </div>
  </body>
</html>
